cmake_minimum_required(VERSION 3.15)

# 项目名称
project(signin)

# 指定C++的版本
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../)

# 生成的可执行程序
add_executable(signin
    signinServer.cpp
    signin.pb.cc
    ../../src/CryptoUtil.cpp
)

target_compile_options(signin PRIVATE
    -g
)

target_link_libraries(signin PRIVATE 
    srpc
    lz4
    snappy
    protobuf
    workflow
    ssl 
    crypto 
    jwt
    wfrest
    ppconsul
)
